﻿<controls:ChildWindow x:Class="MedLink2011.Views.ClinicCharts.ChildWindows.ClinicChartsAddCW"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
mc:Ignorable="d"
xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"
Title="ClinicCharts"
Style="{StaticResource AccentChildWindowStyle}"
Background="AliceBlue"
xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk">
<!--8 Fields --> 
<Grid x:Name="LayoutRoot" >

        <Border BorderBrush="#FF505050"  BorderThickness="2"  CornerRadius="10">
            <Border.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#ED71A5D8" Offset="0.8" />
                    <GradientStop Color="AliceBlue" Offset="1.09" />
                </LinearGradientBrush>
          </Border.Background>

<ScrollViewer x:Name="scrollViewerClinicCharts" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" >
<Grid HorizontalAlignment="Left" x:Name="ClinicChartsGrid" VerticalAlignment="Top">
<Grid.RowDefinitions>
<RowDefinition Height="32" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
    <ColumnDefinition Width="30" />
    <ColumnDefinition Width="Auto" />
    <ColumnDefinition Width="Auto" />
	<ColumnDefinition Width="50" />
	<ColumnDefinition Width="Auto" />
	<ColumnDefinition Width="Auto" />
    <ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>


<StackPanel Grid.Column="1" Grid.Row="1" Orientation="vertical"  >
<TextBlock Height="20" Margin="0,5" ToolTipService.ToolTip="Clinic Chart Id" ToolTipService.Placement="Right" Text="Clinic Chart Id:"  Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Clinic Chart Description" ToolTipService.Placement="Right" Text="Clinic Chart Description:"  Margin="0,5" Foreground="#FF7635FC" FontWeight="Bold"  Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Clinic Chart Extra Info" ToolTipService.Placement="Right" Text="Clinic Chart Extra Info:"  Margin="0,5" Foreground="#FF7635FC" FontWeight="Bold"  Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Patient Id" ToolTipService.Placement="Right" Text="Patient Id:"  Margin="0,5"  Foreground="#FF7635FC" FontWeight="Bold"  Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />

</StackPanel>
<StackPanel Grid.Column="2" Grid.Row="1" Orientation="vertical"  >
<TextBlock  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="ClinicChart_IdTextBox" Text="{Binding Path=ClinicChart_Id, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" />
<TextBox ToolTipService.ToolTip="Clinic Chart Description" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Clinic_Chart_DescriptionTextBox" Text="{Binding Path=Clinic_Chart_Description, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  Background="#FFFFFFDC"  MaxLength="200"/>
<TextBox ToolTipService.ToolTip="Clinic Chart Extra Info" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Clinic_Chart_Extra_infoTextBox" Text="{Binding Path=Clinic_Chart_Extra_info, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  Background="#FFFFFFDC"  MaxLength="200"/>
<TextBlock  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Patient_IdTextBox" Text="{Binding Path=Patient_Id, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" Visibility="Collapsed" />
<ComboBox ToolTipService.ToolTip="Patient Id" ToolTipService.Placement="Right" Height="26" Margin="2" x:Name="Patient_IdComboBox" SelectedValuePath = "Patient_Id" DisplayMemberPath = "First_Name" VerticalAlignment="Top" Width="150" >
<ComboBox.BorderBrush>
<SolidColorBrush Color="GreenYellow"/>
</ComboBox.BorderBrush>
</ComboBox>

</StackPanel>
                        <StackPanel Margin="0,10" Grid.Column="0" Grid.Row="2" Orientation="Horizontal"  Grid.ColumnSpan="3">
                            <toolkit:DataForm CommandButtonsVisibility="None" HorizontalAlignment="Center" x:Name="ClinicChartsDataForm" VerticalAlignment="Center" Height="23" Width="75" EditEnded="ClinicChartsDataForm_EditEnded" AutoCommit="False" AutoEdit="False" AutoGenerateFields="False" IsEnabled="False" Visibility="Collapsed" />
                            <Button x:Name="CancelButton" Content="Cancel" Width="75" Height="23" HorizontalAlignment="Right" Click="CancelButton_Click" />
                            <Button x:Name="OKButton" Content="Save" Width="75" Height="23" HorizontalAlignment="Right" Click="OKButton_Click" />
                        </StackPanel>
    
    
      
        </Grid>
        </ScrollViewer>
        </Border>
    </Grid>
</controls:ChildWindow>
